using Microsoft.EntityFrameworkCore;
using SQLLiteServer;
using SQLLiteServer.Tabels;

namespace SocketDemo
{
    internal static class Program
    {
        /// <summary>
        ///  The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            // To customize application configuration such as set high DPI settings or default font,
            // see https://aka.ms/applicationconfiguration.
            #region 自动迁移（先不用）
            //using (var context = new MyDbContext())
            //{
            //    context.Database.EnsureCreated();
            //    //context.Database.Migrate();
            //}
            #endregion
            ApplicationConfiguration.Initialize();
            Application.Run(new SocketServerA());
        }
    }
}